<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>编辑-导航</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="icon" href="images/favicon.ico"
			type="image/vnd.microsoft.icon">

		<link href="<%=basePath%>css/dialog/dialog.css" rel="stylesheet">
		<link href="<%=basePath%>css/smoothness/jquery-ui.css" rel="stylesheet">
		<link href="<%=basePath%>css/smoothness/style.css" rel="stylesheet">
		<link href="<%=basePath%>css/flexigrid.pack.css" rel="stylesheet">
		

		<script src="<%=basePath%>js/jquery-1.8.3.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/dialog.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/jquery.optionTree.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/jquery-ui.min.js" type="text/javascript"></script>
		<script src="<%=basePath%>js/flexigrid.pack.js" type="text/javascript"></script>
		<script type="text/javascript">
    	$(function(){
    		$("#editTable").flexigrid();
    	});
    	var MsgBox = function(text){
    		new Dialog(text,
    		{
	    		title:"消息提示"
	    	}).show();
    	}
    </script>
		
	</head>

	<body>
		<table id="editTable">
			<c:forEach var="item" items="${list}" varStatus="index">
				<tr>
					<td>${item.itemId}</td>
					<td>${item.itemName}</td>
					<td>${item.itemDesc}</td>
				</tr>
			</c:forEach>
		</table>
	</body>
</html>
